//
//  BookmarkCatalogView.h
//  ebook
//
//  Created by 吴超飞 on 16/1/26.
//  Copyright © 2016年 Moton. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReaderBookModel.h"
#import "DatasourceViewController.h"

@class BookmarkCatalogView;
@class Bookmark;

@protocol BookmarkCatalogViewDelegate <NSObject>

-(void)bookmarkCatalogView:(BookmarkCatalogView *)view didSelectedRowObject:(id) obj;

@end


@interface BookmarkCatalogView : UIView

- (id)initWithDataControler:(ReaderBookModel *)readerbookModelViewController;
- (void)reloadData;
- (void)didReceiveMemoryWarningOperator;//内存低时释放数据

@property (nonatomic,weak) id<BookmarkCatalogViewDelegate> delegate;
@property (nonatomic,retain) UITableView *tableview;
//@property (nonatomic,assign) BOOL isNight;

@end
